package com.yjc.springcloud.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author shkstart
 * @create 2022-07-12 20:40
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class CommotResult<T> {

    private Integer code;
    private String message;
    private T data;

    public CommotResult(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
